function sendPost(utorId, userId) {	
	var utorId = utorId;
	var userId = userId;
	var detail = document.getElementById("postBox").value;
	var stat = document.getElementById("status");
	
	if(detail == "") {
		stat.innerHTML = "Message field is empty";
		return;
	}
	
	var param = "utorId=" + utorId + "&userId=" + userId + "&detail=" + detail;
		
	var url = "sendPost";
	var ajax1 = new ajaxCall(param,url,function(status, text, xml) {
		if (status == 200) {
			var msg = xml.getElementsByTagName("message")[0].childNodes[0].nodeValue;
			document.getElementById('status').innerHTML = msg;
		}
	});
};